package com.lucky.contract.service;

import com.lucky.contract.entity.ResultMap;

import java.util.List;
import java.util.Map;

public interface BaseService<T> {

	ResultMap queryPageList(Map<String, Object> params) throws Exception;

	List queryList(Map<String, Object> params) throws Exception;

	T getEntity(String pkId) throws Exception;

	void addEntity(T t) throws Exception;

	void updateEntity(T t) throws Exception;

	void deleteEntity(String pkId) throws Exception;
}
